﻿using Inovout.Data.Domain;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace KuaJing.Organization.Domain
{
    public interface IDepartment
    {
        [DataProperty("别名", DataType.Text, null, false, 1, 50)]
        string ShortName{ get; }
        IEnumerable<IDepartment> Children { get; }
        IEnumerable<Employee> Employees { get; }
        IDepartment Parent { get; }
        IEnumerable<Position> Positions { get; }
    }
}
